import { defineAsyncComponent } from "vue";

export const device0 = function (map) {
  return [
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "长通道1",
          toPage: "",
          style: {
            left: 280,
            top: 30
          }
        }
      ],
      style: {
        width: 614,
        height: 116,
        left: 33,
        top: 376 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "长通道2",
          toPage: "",
          style: {
            left: 208,
            top: 190 - 160
          }
        }
      ],
      style: {
        width: 489,
        height: 116,
        left: 648,
        top: 376 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "长通道3",
          toPage: "",
          style: {
            left: 100,
            top: 40
          }
        }
      ],
      style: {
        width: 300,
        height: 105,
        left: 1170,
        top: 406 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "换乘通道",
          toPage: "",
          style: {
            left: 20,
            top: 4
          }
        }
      ],
      style: {
        width: 138,
        height: 40,
        left: 1558,
        top: 410 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "区间",
          toPage: "",
          style: {
            left: 20,
            top: 4
          }
        }
      ],
      style: {
        width: 138,
        height: 40,
        left: 1725,
        top: 410 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "出入口1",
          aliasName: "出入口1",
          menu3_active: 1,
          toPage: "device_1",
          style: {
            left: 20,
            top: 4
          }
        }
      ],
      style: {
        width: 138,
        height: 40,
        left: 1558,
        top: 470 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "出入口2",
          toPage: "device_2",
          aliasName: "出入口2",
          menu3_active: 2,
          style: {
            left: 20,
            top: 4
          }
        }
      ],
      style: {
        width: 138,
        height: 40,
        left: 1725,
        top: 470 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "站厅设备区一",
          toPage: "device_7",
          aliasName: "站厅一",
          menu3_active: 7,
          style: {
            left: 160,
            top: 30
          }
        },
        {
          btnName: "站厅设备区二",
          toPage: "device_8",
          aliasName: "站厅二",
          menu3_active: 8,
          style: {
            left: 1000,
            top: 40
          }
        },
        {
          btnName: "站厅设备区三",
          toPage: "device_9",
          aliasName: "站厅三",
          menu3_active: 9,
          style: {
            left: 1450,
            top: 60
          }
        }
      ],
      style: {
        width: 1842,
        height: 120,
        left: 34,
        top: 516 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "设备层设备区一",
          toPage: "device_3",
          aliasName: "设备层一",
          menu3_active: 3,
          style: {
            left: 220,
            top: 30
          }
        },
        {
          btnName: "设备层设备区二",
          toPage: "device_4",
          aliasName: "设备层二",
          menu3_active: 4,
          style: {
            left: 360,
            top: 40
          }
        },
        {
          btnName: "设备层设备区三",
          toPage: "",
          style: {
            left: 560,
            top: 40
          }
        },
        {
          btnName: "设备层设备区四",
          toPage: "",
          style: {
            left: 980,
            top: 40
          }
        }
      ],
      style: {
        width: 1842,
        height: 120,
        left: 34,
        top: 670 - 160
      }
    },
    {
      isComponent: true,
      component: defineAsyncComponent(() => import("@/components/rectangle.vue")),
      opt: [
        {
          btnName: "站台设备区一",
          toPage: "device_5",
          aliasName: "站台层一",
          menu3_active: 5,
          style: {
            left: 230,
            top: 26
          }
        },
        {
          btnName: "站台设备区二",
          toPage: "device_6",
          aliasName: "站台层二",
          menu3_active: 6,
          style: {
            left: 900,
            top: 26
          }
        }
      ],
      style: {
        width: 1854,
        height: 120,
        left: 34,
        top: 812 - 160
      }
    }
  ];
};
